﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using Hartley.ApplicationLogic;
using Hartley.DTOs;

namespace WebApplication1
{
    public partial class viewAllFund : System.Web.UI.Page
    {
        FundAL fundAL = new FundAL();
        protected void Page_Load(object sender, EventArgs e)
        {
            List<FundDTO> allFunds = fundAL.GetAllFund();
            gvFund.DataSource = allFunds.ToList();
            gvFund.DataBind();
        }
    }
}
